home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Macintosh / Samples / backgrnd / BACK / BACKFac.h < prev    next >
Encoding:
Text File  |  1997-07-09  |  744 b   |  34 lines

  1. // Copyright (c)1995 Ray Dream, Inc. All Rights Reserved.
  2. /* $Id: BACKFac.h 1.1 1996/07/18 23:45:57 Damien Exp $ */
  3.  
  4. #ifndef __BACKFAC__
  5. #define __BACKFAC__  
  6.  
  7. #ifndef __I3DEX__
  8. #include "I3DEx.h"
  9. #endif
  10.  
  11. // Sunset class factory
  12.  
  13. // Sunset Class Factory :
  14. class SunsetClassFactory : public IClassFactory {
  15. public:
  16.   SunsetClassFactory(void);
  17.   ~SunsetClassFactory(void);
  18.  
  19.   //IUnknown members
  20.   STDMETHODIMP         QueryInterface(REFIID, LPVOID FAR*);
  21.   STDMETHODIMP_(ULONG) AddRef(void);
  22.   STDMETHODIMP_(ULONG) Release(void);
  23.  
  24.   //IClassFactory members
  25.   STDMETHODIMP         CreateInstance(LPUNKNOWN, REFIID, LPVOID FAR*);
  26.   STDMETHODIMP         LockServer(BOOL);
  27. protected:
  28.   ULONG           m_cRef;
  29.   };                         
  30.  
  31. #endif
  32.  
  33.  
  34.